From: Carlos Garnacho Date: Tue, 30 Dec 2025 13:36:18 +0000 (+0100) Subject: modalDialog: Drop seat state check after grabs X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~39^2~1^2~59 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=cf9a686fc190755dba22f248a080470a1e568456;p=gnome-shell.git modalDialog: Drop seat state check after grabs Grabs are non-failable now, we do not need to check for the backend seat actually having been able to perform the request. Part-of: --- diff --git a/js/ui/modalDialog.js b/js/ui/modalDialog.js index 03681ac2d..74fd156c6 100644 --- a/js/ui/modalDialog.js +++ b/js/ui/modalDialog.js @@ -234,11 +234,6 @@ export const ModalDialog = GObject.registerClass({ return true; const grab = Main.pushModal(this, {actionMode: this._actionMode}); - if (grab.get_seat_state() !== Clutter.GrabState.ALL) { - Main.popModal(grab); - return false; - } - this._grab = grab; Main.layoutManager.emit('system-modal-opened');